/*
	Name: PCH Torrent RSS Config
	Description: Stylistic update of the TorrentWatch (http://code.google.com/p/torrentwatch/) config interface.
	Version: 1.0
	Author: Keith Solomon
	Author URI: http://reciprocity.be/
	
	License: GNU General Public License v2
*/

/* Modifications by Erik Bernhardson
 * inspired by Clutch
 */

/*-----------------
 *
 * G L O B A L
 *
 * ---------------*/

html {
	margin: 0;
	padding: 0;
	height: 100%;
	}

body {
	font: 62.5% "lucida grande", Tahoma, Verdana, Arial, Helvetica, sans-serif;
	color: #323232 !important;
	background: #FFF;
	text-align: center;
	margin:0 0 30px;
	overflow: hidden;
	}

img {
	border: none;
	}

input[type=text] {
	border: 1px solid #787878;
	}

/*-----------------
 *
 * T O P   M E N U
 *
 * ----------------*/
div.mainoptions {
	width: 100%;
	height: 75px;
	margin: 0;
	background: transparent url('images/menu_bg.gif') repeat-x;
	border-bottom: 1px solid #979797;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 2;
	}

div.mainoptions ul {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0;
	text-align: left;
	}

div.mainoptions ul li {
	list-style-type: none;
	list-style-image: none;
	float: left;
	padding: 0;
	margin: 15px 0 0 0;
	vertical-align: middle;
	height: 50px;
	}

div.mainoptions ul li#inspector,
div.mainoptions ul li#webui {
	float: right;
	}

div.mainoptions ul li#inspector {
	margin: 15px 10px 0 0;
	}

div.mainoptions ul li a {
	color: #030303;
	font-size: 1.1em;
	text-decoration: none;
	padding: 36px 10px 0 10px;
	display: block;
	margin: 0;
	}

div.mainoptions ul li#favoritesMenu a {
	background: url(images/nuvola_bookmark.png) no-repeat 19px 0;
}
div.mainoptions ul li#config a {
	background: url(images/nuvola_configure.png) no-repeat 19px 0;
}

div.mainoptions ul li#view a {
	background: url(images/nuvola_history.png) no-repeat 26px 0;
}

div.mainoptions ul li#empty a {
	background: url(images/remove.png) no-repeat 32px 0;
}

div.mainoptions ul li#empty a:active {
	background: url('images/remove_on.png') no-repeat 32px 0;
	}

div.mainoptions ul li#webui a {
	background: url(images/webui.png) no-repeat center 0;
}

div.mainoptions ul li#inspector a {
	background: url('images/info.png') no-repeat 18px 0;
	}

div.mainoptions ul li#inspector a:active {
	background: url('images/info_on.png') no-repeat 18px 0;
	}

div.mainoptions ul li.divider {
	background: transparent url('images/menu_divider.png') no-repeat top right;
	margin: 17px 0 0 0;
	}

/*-----------------
 *
 * F I L T E R   B A R
 *
 * ---------------*/

div#filterbar {
	margin: 0;
	height: 24px;
	background: #C0C8D6 url('images/filter_bar_bg.png') repeat-x;
	border-bottom: 1px solid #979797;
	position: fixed;
	left: 0;
	right: 0px;
	top: 76px;
	z-index: 2;
	}

div#filterbar ul {
	width: 100%;
	height: 17px;
	margin: 0;
	padding: 0;
	text-align: left;
	}

div#filterbar ul li {
	list-style-type: none;
	list-style-image: none;
	float: left;
	padding: 0;
	margin: 4px 2px 0 5px;
	vertical-align: middle;
	height: 17px;
	}

div#filterbar ul li a {
	font-size: 1.2em;
	color: #4E4E4F;
	text-decoration: none;
	font-weight: bold;
	padding: 0 7px 0 7px; 
	margin: 0;
	}


div#filterbar ul li:hover {
	background: transparent url('images/filter_hover_left.png') no-repeat top left;
	}

div#filterbar ul li:hover a {
	background: transparent url('images/filter_hover_right.png') no-repeat top right;
	color: #fff !important;
	}

div#filterbar ul li.selected {
	background: transparent url('images/filter_selected_left.png') no-repeat top left;
	}

div#filterbar ul li.selected a {
	background: transparent url('images/filter_selected_right.png') no-repeat top right;
	color: #fff !important;
	}

/*--------------------------
 *
 * T O R R E N T   L I S T
 *
 * ------------------------*/
div#torrentlist_container {
	position: fixed;
	top: 101px;
	right: 0px;
	left: 0px;
	padding: 0px;
	margin: 0px;
	overflow: auto;
	bottom: 0px
}

div.feed {
	width: 100%;
	margin: 0;
	padding: 0;
}

ul.torrentlist {
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: left;
}

ul.torrentlist li {
	list-style-type: none;
	list-style-image: none;
	clear: both;
	display: block;
	padding: 0;
	margin: 0;
	vertical-align: middle;
	-moz-user-select: none;
	}

ul.torrentlist li.header {
	font-size: 18pt;
	text-align: center;
	}

ul.torrentlist li.header,
ul.torrentlist li.torrent {
	border-bottom: 1px solid #ccc;
	padding: 3px 16px 3px 10px;
	margin: 0 !important;
	}

ul.torrentlist li.torrent {
	height: 22px;
	padding-left: 28px;
	}

ul.torrentlist li.torrent.match_nomatch {
	background: transparent url('images/nuvola_ledred.png') no-repeat 3px center;
	display: block;
	}

ul.torrentlist li.torrent.match_match {
	background: transparent url('images/nuvola_ledorange.png') no-repeat 3px center;
	display: block;
	}

ul.torrentlist li.torrent.match_cachehit {
	background: transparent url('images/nuvola_ledgreen.png') no-repeat 3px center;
	display: block;
	}

ul.torrentlist li.torrent.match_duplicate {
	background: transparent url('images/nuvola_ledyellow.png') no-repeat 3px center;
	display: block;
	}

ul.torrentlist li.torrent.alt {
	background-color: #EDF3FE;
	}

ul.torrentlist li.torrent.selected {
	background-color: #3875D7;
	color: #FFF;
	}

div.torrent_name {
	float: left;
	}

div.torrent_pubDate,
div.torrent_status {
	float: right;
}	

a.context_link {
	display: none;
}

/*--------------------------
 *
 * D I A L O G S
 *
 * ---------------------*/

div.dialog_window {
	display: none;
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	left: 50%;
	z-index: 3;
	background-color: #DBDBDB;
	margin: -3px auto 0 auto;
	filter: alpha(opacity=95);
	-moz-opacity: .95;
	opacity: .95;
	border: 1px solid #B5B5B5;
	text-align: left;
	top: 30px;
	width: 410px;
	margin-left: -205px;
	padding: 5px;
	}

div.dialog_window label {
	font-size: 1.1em;
	line-height: 25px;
	vertical-align: middle;
	display: block;
	}

div.dialog_window label.category {
	clear: both;
	font-size: 1.2em;
	margin: 0 0 0 2px;
	}

div.dialog_window label.item {
	margin: 0 5px 0 20px;
	float: left;
	}

div.dialog_window label.suffix {
	margin: 0 5px 0 10px;
	float: left;
	}

div.dialog_window h2.dialog_heading {
	display: block;
	float: left;
	width: 305px;
	}

div.dialog_window input,
div.dialog_window select {
	float: left;
	}


div.FavInfo a,
div.dialog_window#history a,
div.dialog_window#configuration a,
div.dialog_window#feeds a {
	display: block;
	float: right;
	margin: 5px 10px 0 0;
	padding: 5px;
	background-color: #EEE;
	border: 1px solid #787878;
	width: 50px;
	text-align: center;
	font-weight: bold;
	text-decoration: none;
	color: #323232;
	clear: left;
	}

/* Progress Bar */
div.dialog_window#progressDiv {
	height: 26px;
	top: 150px;
	overflow: hidden;
	}

img.percentImage1 {
	background: white url(images/percentImage_back1.png) no-repeat scroll 1px 0;
	margin: 5px 0 0;
	padding: 0;
	}

div#progressBarText {
	overflow: hidden;
	}

/* Configuration Dialog */
div.config_torrentclient label.item,
div.config_downloaddir label.item,
div.config_watchdir label.item, 
div.config_deepdir label.item {
	width: 110px;
	clear: left;
	padding-right: 10px;
	}

div.config_savetorrent label.item,
div.config_verifyepisodes label.item {
	margin: 0 5px 0 0;
	}

div.dialog_window#configuration input[type=text] {
	width: 261px;
	}

div.dialog_window#configuration input[type=checkbox] {
	margin: 4px 5px 0 22px;
	clear: left;
	}

div.feeditem label.item {
	white-space: nowrap;
	min-width: 95px;
	max-width: 350px;
	overflow: hidden;
	width: auto;
	}


/* Favorites Dialog */
div.dialog_window#favorites {
	}

div.Favorite,
div.FavInfo {
	height: 235px;
	}


div.Favorite {
	float: left;
	clear: left;
	border: 1px solid gray;
	padding: 5px;
	margin: 5px;
	width: 180px;
	font-size: 120%;
	overflow: auto;
	}

div.Favorite ul li a {
	text-decoration: none;
	color: #000000;
	}

div.Favorite ul li:hover {
	background-color: #3879D7;
	}

div.FavInfo {
	display: none;
	border: 1px solid gray;
	padding: 5px;
	margin: 5px;
	width: 350px;
	float: right;
	}

div.favorite_name label.item,
div.favorite_filter label.item,
div.favorite_not label.item,
div.favorite_savein label.item,
div.favorite_episodes label.item,
div.favorite_feed label.item,
div.favorite_quality label.item,
div.favorite_autostart label.item {
	clear: left;
	width: 50px;
	padding-right: 10px;
	}

div.FavInfo input[type=text] {
	width: 261px;
	}

div.FavInfo input[type=submit] {
	color: #323232;
	background-color: #EEE;
	border: 1px solid #787878;
	width: 62px;
	height: 24px;
	clear: left;
	float: right;
	margin: 5px 10px 0 0;
	padding: 5px;
	font: 95% "lucida grande", Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	cursor: pointer;
	}

/* History Dialog */
div.dialog_window#history {
	}

/*--------------------------
 *
 * C O N T E X T   M E N U
 *
 * ------------------------*/

div.context_menu {
	display: none;
	position: absolute;
	margin: 0px;
	padding: 0px;
	border: 1px solid rgb(119, 119, 119);
	background-color: white;
	z-index: 500;
	text-align: left;
	width: 190px;
	}

div.context_menu ul {
	border: medium none;
	margin: 0px;
	padding: 5px 0pt;
	list-style-type: none;
	list-style-image: none;
	list-style-position: outside;
	font-size: 14px;
}

div.context_menu ul li a {
	display: block;
	padding: 0px 10px 2px 20px;
	color: #000000;
	text-decoration: none;
	}

div.context_menu ul li a:hover {
	background-color: #3879D7;
	color: #FFFFFF;
	}

/*-----------------
 *
 * O L D   C S S   S T U F F
 *
 * ----------------*/

.alt { background: #afdbff; }

.feedlink {
	border-bottom: 1px solid #000;
	text-align: center
}

/*
.add {
	background: url(images/add.png) no-repeat; 
	border: none;
	height: 16px; 
	width: 16px;
	text-indent: -9999em;
	bottom: 0;
}

.del {
	background: url(images/del.png) no-repeat;
	border: none;
	height: 16px;
	width: 16px;
	text-indent: -9999em;
	bottom: 0;
}
*/

.clear { clear: both; }

div.dialog_window#history,
div.dialog_window#favorites {
	width: 575px;
	margin-left: -288;
}

div#history ul li{
	white-space: nowrap;
	overflow: hidden;
	}




div.feedlist {
	background-color: white;
	border: 1px solid gray;
	font-size: 8pt;
	height: 30px;
	line-height: 30px;
	margin: 6px auto;
	width: 745px;
}

div.feedlist img {
	border: 1px solid white;
}

div.feedlist a {
	color: black;
	text-decoration: none;
}

div.feeditem {
	clear: both;
	margin: 1px;
}

div.feedcurrent {
	border: 1px solid white;
	margin: 4px;
	text-decoration: underline;
}

div.rss_debug {
	display: none;
}

div.timer {
	font-size: 8pt;
	text-align: right;
	margin-right: 5px;
	bottom: 0;
	right: 0;
}


div.btcli {
	background: white;
	border: 1px solid black;
	margin: 0px;
}

tr.item {
	font-size: 8pt;
	height: 26px;
}

tr.item td {
}

tr.item a {
	color: black;
	text-decoration: none;
}

tr.rss {
	font-size: 12pt;
	text-align: center;
}

/* Menu Styles */
.Favorite ul {
	list-style: none;
	margin: 0;
	padding: 0;
}


.favorite li {
	background: url(images/favorites.png) no-repeat left center;
	height: 20px;
	line-height: 20px;
	margin-bottom: 5px;
	padding-left: 24px;
}

.feedform {
	margin: 1px;
}
